<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich"
      
     >

	<ui:composition>		
		<rich:dropDownMenu id="mainMenu" event="onclick" hideDelay="200">
			<f:facet name="label">
			        <img style="margin-left: 9px; margin-top: 8px;" src="../template/logoImage" />
			</f:facet>					
			 <rich:menuItem value="File Manager" action="#{menuManager.setPageUrl('data.seam')}"  reRender="sideMenu,pageTitle"  styleClass="menuLink" icon="../images/configuration.png">
                 
                </rich:menuItem>
                <!-- 
                <rich:menuGroup value="File" icon="../images/folder.png" >
                    <rich:menuItem action="#{menuManager.setPageUrl('systemSettings.seam')}" value="System Settings" rendered="#{userSession.hasPermission('fina2.security.settings') || roleSession.hasPermission(userSession.currentUser.id,'fina2.security.settings')}" reRender="sideMenu,pageTitle" styleClass="menuLink" icon="../images/configuration.png"/>
                </rich:menuGroup>
                <rich:menuGroup value="Fin.Institutions" icon="../images/folder.png">
                    <rich:menuItem action="#{menuManager.setPageUrl('licenceTypes.seam')}"  rendered="#{userSession.hasPermission('fina2.bank.review') || roleSession.hasPermission(userSession.currentUser.id,'fina2.bank.review')}" value="#{messages['fina2.bank.licenceType']}" reRender="sideMenu,pageTitle" styleClass="menuLink" icon="../images/configuration.png"/>
                    <rich:menuItem action="#{menuManager.setPageUrl('fiGroups.seam')}"  rendered="#{userSession.hasPermission('fina2.bank.review') || roleSession.hasPermission(userSession.currentUser.id,'fina2.bank.review')}" value="#{messages['fina2.reportoo.parameterType.peerGroup']}" reRender="sideMenu,pageTitle" styleClass="menuLink" icon="../images/configuration.png"/>
                    <rich:menuItem action="#{menuManager.setPageUrl('bankTypes.seam')}"  rendered="#{userSession.hasPermission('fina2.bank.review') || roleSession.hasPermission(userSession.currentUser.id,'fina2.bank.review')}" value="#{messages['fina2.bank.bankType']}" reRender="sideMenu,pageTitle" styleClass="menuLink" icon="../images/configuration.png"/>
                    <rich:menuItem action="#{menuManager.setPageUrl('fiList.seam')}"  rendered="#{userSession.hasPermission('fina2.bank.review') || roleSession.hasPermission(userSession.currentUser.id,'fina2.bank.review')}" value="#{messages['fina2.bank.bankList']}" reRender="sideMenu,pageTitle" styleClass="menuLink" icon="../images/configuration.png"/>
                </rich:menuGroup>
                <rich:menuGroup value="Meta Data" icon="../images/folder.png">
                    
                    <rich:menuItem action="#{menuManager.setPageUrl('periodTypes.seam')}" rendered="#{userSession.hasPermission('fina2.periods.review') || roleSession.hasPermission(userSession.currentUser.id,'fina2.periods.review')}" value="#{messages['fina2.period.periodTypes']}" reRender="sideMenu,pageTitle" styleClass="menuLink" icon="../images/configuration.png"/>
                    
                    
                    <rich:menuItem action="#{menuManager.setPageUrl('returnTypes.seam')}"  value="#{messages['fina2.returns.returnTypesAction']}" styleClass="menuLink" icon="../images/configuration.png"/>
                    
                    
                    
                    
                    <rich:menuItem action="#{menuManager.setPageUrl('returnVersions.seam')}" rendered="#{userSession.hasPermission('fina2.returns.version.review') || roleSession.hasPermission(userSession.currentUser.id,'fina2.returns.version.review')}" value="#{messages['fina2.returns.returnVersionsAction']}" reRender="sideMenu,pageTitle" styleClass="menuLink" icon="../images/configuration.png"/>
                </rich:menuGroup>	
                -->		
		</rich:dropDownMenu>		
	</ui:composition>

</html>